/**
 * Created by wlh on 16/3/10.
 */

var path = require("path");

module.exports = [{
    entry: ["./src/task/task.jsx"],
    output: {
        path: path.join(__dirname, "build"),
        filename: "task.js"
    },
    module: {
        loaders: [
            { test: /\.css$/, loader: "style!css" },
            { test: /\.jsx$/, loader: "jsx-loader"},
        ]
    }
}, {
    entry: ["./src/task/timer.jsx"],
    output: {
        path: path.join(__dirname, "build"),
        filename: "timer.js"
    },
    module: {
        loaders: [
            { test: /\.css$/, loader: "style!css" },
            { test: /\.jsx$/, loader: "jsx-loader"},
        ]
    }
}]